Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update use of Flux._isactive in DropBlock to prevent deprecation warning #254

Merged
merged 2 commits into from
Oct 16, 2023

Conversation

theabhirath
Copy link
Member

In the process of moving Dropout to NNlib, some of these functions were changed upstream. While this is obviously not ideal for Metalhead to use internal Flux functions, this is a temporary fix to prevent a deprecation warning from being printed every time the layer is used. Maybe later Flux can find a way to do this upstream that allows other libraries to extend.

cc @ToucheSir @darsnack to check if this is the way to go for now.

Copy link
Member

@darsnack darsnack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Can you also bump the version to 0.9 so we can release?

@theabhirath
Copy link
Member Author

Done!

@darsnack darsnack merged commit d60172f into master Oct 16, 2023
24 of 26 checks passed
@theabhirath theabhirath deleted the a2/dropblock-update branch October 16, 2023 15:49
@theabhirath
Copy link
Member Author

Should I go ahead and tag?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants